﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CKS.PLC.Action.Subscription
{
    // 定义一个自定义特性
    [AttributeUsage(AttributeTargets.Class)]
    public class SubscribeActionAttribute : Attribute {

        public SubscribeActionAttribute(string actionKey) {
            ActionKey = actionKey;
        }

        public string ActionKey { get; set; }

    }
}
